CreateHaVip
Description
create highly available virtual IP HaVip(High-Availability Virtual IP Address).
Request Method
POST
Request Path
/apsara/route/Vpc/CreateHaVip
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
Description | BODY | string | No | This is my HaVip. | description information of the HaVip instance. The length is 2 to 256 characters and must start with an English letter, but cannot be http:// or https:// . |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
VSwitchId | BODY | string | Yes | vsw-asdfjlnau**** | The ID of the switch to which the HaVip instance belongs. |
IpAddress | BODY | string | No | 192.XX.XX.10 | the IP address of the HaVip instance. If not specified, an unoccupied IP address is randomly assigned from the specified switch. |
RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | the region ID of the HaVip instance. you can obtain the region by calling DescribeRegions interface ID. |
ClientToken | BODY | string | No | 02fb3da4-130e-11e9-8e44-001s**** | Ensure request idempotence. Generate a parameter value from your client to ensure that the parameter value is unique between different requests. ClientToken only ASCII characters are supported and cannot exceed 64 characters. |
version | BODY | string | No | 2016-01-01 | version of api |
Name | BODY | string | No | test | the name of the HaVip instance. The name is between 2 and 128 characters in length, starting with English letters or Chinese, and can contain numbers, dashes (-), and underscores (_). |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}